package com.lyj.mall.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import com.lyj.mall.pojo.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author  lyj
 * @date  2019/11/26 23:09
 */
@Mapper
public interface CategoryMapper extends BaseMapper<Category> {

    int deleteByPrimaryKey(Integer id);

    @Override
    int insert(Category record);

    int insertSelective(Category record);

    Category selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Category record);

    int updateByPrimaryKey(Category record);

    List<Category> selectAll();
}